package com.service.gmall.web;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author alpha
 * @className: WebMainApplication
 * @date 2022/8/26 9:15
 * @Description
 */
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
//@EnableDiscoveryClient
//@EnableCircuitBreaker
@SpringCloudApplication
@EnableFeignClients(basePackages = {
        "com.service.gmall.feign.item",
        "com.service.gmall.feign.product",
        "com.service.gmall.feign.search"
})
public class WebMainApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebMainApplication.class,args);
    }
}
